<?php
	global $_W,$_GPC;
	if($_W['role']&&$_W['isajax']){
		$did = $_GPC['did'];
		$del = pdo_delete('mii_ang_user',array('uid'=>$did,'uniacid'=>$_W['uniacid']));
		$del2 = pdo_delete('mii_ang_mcard',array('uid'=>$did));
		if($del){
			$code = array('status'=>'1','msg'=>'删除成功');
			exit(json_encode($code));		
		}else{
			$code = array('status'=>'2','msg'=>'删除失败');
			exit(json_encode($code));			
		}	
	}else{
		$code = array('status'=>'2','msg'=>'没有操作权限');
		exit(json_encode($code));
	}


?>